/** Created by CUIJA on 05-19-2017.*/

module.exports = function ($stateProvider) {
  $stateProvider
    .state({
      name: 'default',
      url: '',
      template: require('../layouts/home.html')
    })
    .state({
      name: 'home',
      url: '/',
      template: require('../layouts/home.html')
    })
    .state({
      name: 'login',
      url: '/login',
      template: require('../layouts/login.html')
    })
    .state({
      name: 'register',
      url: '/register',
      template: require('../layouts/register.html')
    })
    .state({
      name: 'about',
      url: '/about',
      template: require('../layouts/about/about.html')
    }).state({
      name: "/client/foods/merchantId/",
      url: "/client/foods/merchantId/",
      template: require("../layouts/showFoodsByMerchantName.html") 
    }).state({
      name:"/shoppingCart/calculate",
      url:"/shoppingCart/calculate",
      template:require("../layouts/orderInfo.html")
    }).state({
      name: "order",
      url: "/order",
      template: require("../layouts/order.html")
    })

};